package com.grm.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ErrorEnum {
    UN_AUTHENTICATION(401,"用户未授权！"),
//    NO_USER(20000,"用户不存在！"),
//    USER_PASSWORD_ERROR(20001, "密码错误！"),
//    USER_EXISTS(20002,"用户已存在！"),
//    NOT_LOGIN(4011, "用户未登录！"),
//    TOKEN_EXPIRED(4012, "用户长时间未操作，登录已过期，请重新登录！"),
    ;
    private final int code;
    private final String message;
}
